package com.qidian.buy.search.service;

import com.qidian.buy.util.pojo.BuyResult;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @date 2023/5/23 13:46
 */
public interface SearchService {

    BuyResult addIndex(Long itemId);

    /**
     * 将所有的商品导入索引库
     */
    BuyResult importIndex();

    BuyResult search(String keyword,int page,int limit);
}
